package com.loveprogrammer.eternity.skill.support.skills.properties;

import com.loveprogrammer.eternity.model.Character;
import com.loveprogrammer.eternity.skill.support.skills.AbstractSkill;

/**
 *
 * @version 1.0.0
 * @description: 被动技能 - 自身属性提升
 * @author: eric
 * @date: 2022-08-22 17:59
 **/
public abstract class AbstractPassivePropertySkill extends AbstractSkill {

    protected AbstractPassivePropertySkill(int id, int baseInterval, int level, int order, int maxLevel, String name, String desc) {
        super(id, baseInterval, level, order, maxLevel, name, desc);
    }

    @Override
    public int opportunityPassive() {
        return 99;
    }

    @Override
    public boolean check(Character character) {
        // 永远有效
        return true;
    }
}
